#pragma once

class CTileMap;
class CCamera;

#define WIN32_MEAN_AND_LEAN
#include <Windows.h>

class CBaseObject;

class CTileManager
{
public:

	/* SINGLETON */
	static CTileManager* GetInstance( void );
	static void			 DeleteInstance( void );

	bool LoadMap( const char * szFilename );
	void RenderMap( void );
	void UpdateMap( float dPosition );
	bool CheckWorldCollision( CBaseObject* pOther );

private:
	static CTileManager* s_Instance;
	CTileManager(void);
	~CTileManager(void);
	CTileManager( const CTileManager& );
	CTileManager& operator= ( const CTileManager& );

	CTileMap*		m_pTileMap;

};

